export const userFields = {
  name: { show: true, label: '姓名', edit: true, type: 'text', required: true },
  sex: { show: true, label: '性别', edit: true, type: 'radio', options: ['男', '女'] },
  age: { show: true, label: '年龄', edit: true, type: 'number' },
  username: { show: true, label: '用户名', edit: true, type: 'text' },
  email: { show: true, label: '邮箱', edit: true, type: 'text' },
  phone: { show: true, label: '电话', edit: true, type: 'text' },
  address: { show: true, label: '地址', edit: true, type: 'textarea' },
  role: { show: true, label: '角色', edit: true, type: 'picker', options: ['管理员', '医生', '护士', '健康管家', '用户', '其他'] },
  status: { show: true, label: '状态', edit: true, type: 'picker', options: ['正常', '禁用', '待激活'] },
  level: { show: true, label: '级别', edit: true, type: 'picker', options: ['初级', '中级', '高级', '专家'] },
  department: { show: true, label: '部门', edit: true, type: 'text' },
  position: { show: true, label: '职位', edit: true, type: 'text' },
  note: { show: true, label: '备注', edit: true, type: 'textarea' },
  createTime: { show: true, label: '创建时间', edit: false, type: 'date' },
  createBy: { show: true, label: '创建人', edit: false, type: 'text' },
  id: { show: false, label: '主键ID', edit: false, type: 'text' }
}
